const store = {
    namespaced: true,
    state: {
        shopcartItems: [],
        select_array:[]
    },
    mutations: {
        snapShot(state, payload) {
            var keys = Object.keys(payload)
            keys.map(key => {
                state[key] = payload[key]
            })
            return state
        }
    }
}
export default store